This stack was designed by Philip A. Mohr, Jr. 4405 N. Rosemead Rosemead, CA 91770
-- part contents for background part 67
----- text -----
Hide Notes
-- part contents for background part 68
----- text -----
7125
-- part contents for background part 73
----- text -----
Before I can do that, you need to give the script a name. Sorry. Try again.
-- part contents for background part 2
----- text -----
on IndexButton
-- part contents for background part 3
----- text -----
This Stack
-- part contents for background part 13
----- text -----
Stack/Card
-- part contents for background part 58
----- text -----
On indexButton
Global ScriptName, ScriptSource, ScriptType
set name of this card to ScriptName -- Insurance
set lockScreen to true
set cursor to 4
go last card of background "Index Cards"
Get background field "Index Page"
Put "Index " & it into PageNo
get the number of card buttons
If it >= 40 then -- New Index Card
put script of this card into IndexScript
doMenu "New Card"
Get background field "Index Page"
Put "Index " & it into PageNo
set name of this card to PageNo
put IndexScript into script of card PageNo -- to here
end if
doMenu new button
get ScriptName
set name of button "New Button" to it
set autoHilite of button it to true
set the rect of button it to 172,135,340,155
set style of button it to radioButton
put "on mouseUp" into line 1 of buttonScript -- Goodman, 557 + 603
put "get short name of the target" into line 2 of buttonScript
put "go to card it" into line 3 of buttonScript
Put "set hilite of card button it of card " & quote & PageNo & quote & " to false" into line 4 of buttonScript
put "end mouseUp" into line 5 of buttonScript
set script of card button it to buttonScript
show background field "Move Advisor"
end indexButton
-- part contents for background part 14
----- text -----
earlier version
In the Collection Cards background script, called by Add Script and Add to Script, puts new button on index page and inserts script that links it to Collection Card